﻿@model HR_ASP.ViewModel.PracownikViewModel

<h3>Are you sure you want to delete this?</h3>
<fieldset>
    <legend>PracownikViewModel</legend>

    <div class="display-label">Identyfikator</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Identyfikator)
    </div>

    <div class="display-label">Imie</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Imie)
    </div>

    <div class="display-label">Nazwisko</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Nazwisko)
    </div>

    <div class="display-label">Pesel</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Pesel)
    </div>

    <div class="display-label">Email</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Email)
    </div>

    <div class="display-label">Miasto</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Miasto)
    </div>

    <div class="display-label">Kod</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Kod)
    </div>

    <div class="display-label">Ulica</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Ulica)
    </div>

    <div class="display-label">Numer</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Numer)
    </div>    
</fieldset>
@using (Html.BeginForm()) {
    <p>
        <input type="submit" value="Delete" /> |
        @Html.ActionLink("Back to List", "Index")
    </p>
}
